package com.tdy.cdc.common;

/**
 * @author NanHuang
 * @Date 2023/3/8
 */
public class Constant {
    // ODS层
    // 2010-01-01时间戳
    public static final Long TIMESTAMP_OF_20000101 = 946656000000L;
    // 时间戳向后推迟3个月
    public static final Long TIMESTAMP_DELAY_3MONTHS = 3 * 31 * 24 * 60 * 60 * 1000L;
    // 2010-01-01距离1970-01-01的天数
    public static final Long DAYS_FROM_20000101 = 10957L;
    // 距离天数向后推迟3个月
    public static final Long DAYS_DELAY_3MONTHS = 3 * 31L;

    // DWD层
    // 急诊留观病例
    public static final String TOPIC_DWD_MHS_EO_MR = "dwd_mhs_eo_mr";
    // 西药处方 / 中药处方
    public static final String TOPIC_DWD_MHS_PRESC = "dwd_mhs_presc";
    // 检查报告
    public static final String TOPIC_DWD_MHS_EXAM_REPORT = "dwd_mhs_exam_report";
    // 检验报告
    public static final String TOPIC_DWD_MHS_TEST_REPORT = "dwd_mhs_test_report";
    // 治疗记录
    public static final String TOPIC_DWD_MHS_THERAPY_RECORD = "dwd_mhs_therapy_record";
    // 一般手术记录
    public static final String TOPIC_DWD_MHS_GENERAL_SURGERY_RECORD = "dwd_mhs_general_surgery_record";
    // 麻醉术前访视记录
    public static final String TOPIC_DWD_MHS_PREOPERATIVE_VISIT = "dwd_mhs_preoperative_visit";
    // 手术护理记录
    public static final String TOPIC_DWD_MHS_SURGICAL_NURSING_RECORD = "dwd_mhs_surgical_nursing_record";
    // 护理计划记录
    public static final String TOPIC_DWD_MHS_CARE_PLAN = "dwd_mhs_care_plan";
    // 入院记录
    public static final String TOPIC_DWD_MHS_IPT_ADMISSIONNOTE = "dwd_mhs_ipt_admissionnote";
    // 首次病程记录
    public static final String TOPIC_DWD_MHS_IPT_FIRST_COD_RECORD = "dwd_mhs_ipt_first_cod_record";
    // 交接班记录
    public static final String TOPIC_DWD_MHS_IPT_RELIEF_SHIFT_RECORD = "dwd_mhs_ipt_relief_shift_record";
    // 转科记录
    public static final String TOPIC_DWD_MHS_IPT_TRANSFERRED_RECORD = "dwd_mhs_ipt_transferred_record";
    // 阶段小结
    public static final String TOPIC_DWD_MHS_IPT_STAGE_SUMMARY = "dwd_mhs_ipt_stage_summary";
    // 术前小结
    public static final String TOPIC_DWD_MHS_IPT_PREOPERATION_SUMMARY = "dwd_mhs_ipt_preoperation_summary";

}
